package com.gwt.theOne.theLocal.shared;

//import java.io.Serializable;
import com.google.gwt.user.client.rpc.IsSerializable;

public class CurrentWeather implements IsSerializable {
	
	private static final long serialVersionUID = 1L;
	
	private String location = "";
	private String date = "";
	private String high = "";
	private String low = "";
	private String temperature = "";
	private String visibility = "";
	private String humidity = "";
	private String cloudCover = "";
	private String weatherImage = "";
	private String windDir = "";
	private String windSpeed = "";
	private String weatherDescription = "";
	private String pressure = "";
	

	public CurrentWeather ()	{
	}
	
	public CurrentWeather(String location, String date, String high, String low, String temperature, String visibility, String humidity, String cloudCover, String weatherImage, String windDir, String windSpeed, String weatherDescription, String pressure) {
		
		this.location 	= location;
		this.date 		= date;
		this.high		= high;
		this.low  		= low;
		this.temperature= temperature;
		this.visibility	= visibility;
		this.humidity	= humidity;
		this.cloudCover = cloudCover;
		this.weatherImage= weatherImage;
		this.windDir 	= windDir;
		this.windSpeed  = windSpeed;
		this.weatherDescription = weatherDescription;
		this.pressure 	= pressure;
		
	}

	public String getLocation() {
		return location;
	}

	public void setLocation(String location) {
		this.location = location;
	}

	public String getDate() {
		return date;
	}

	public void setDate(String date) {
		this.date = date;
	}

	public String getHigh() {
		return high;
	}

	public void setHigh(String high) {
		this.high = high;
	}

	public String getLow() {
		return low;
	}

	public void setLow(String low) {
		this.low = low;
	}

	public String getTemperature() {
		return temperature;
	}

	public void setTemperature(String temperature) {
		this.temperature = temperature;
	}

	public String getVisibility() {
		return visibility;
	}

	public void setVisibility(String visibility) {
		this.visibility = visibility;
	}

	public String getHumidity() {
		return humidity;
	}

	public void setHumidity(String humidity) {
		this.humidity = humidity;
	}
	
	public String getCloudCover() {
		return cloudCover;
	}
	
	public void setCloudCover(String cloudCover) {
		this.cloudCover = cloudCover;
	}
	
	public String getWeatherImage()	{
		return weatherImage;
	}
	
	public void setWeatherImage(String weatherImage) {
		this.weatherImage = weatherImage;
	}
	
	public String getWindDir()	{
		return windDir;
	}
	
	public void setWindDir(String windDir) {
		this.windDir = windDir;
	}
		
	public String getWindSpeed()	{
		return windSpeed;
	}
	
	public void setWindSpeed(String windSpeed) {
		this.windSpeed = windSpeed;
	}
	
	public String getWeatherDescription()	{
		return weatherDescription;
	}
	
	public void setWeatherDescription(String weatherDescription) {
		this.weatherDescription = weatherDescription;
	}
	
	public String getPressure(){
		return pressure;
	}
	public void setPressure(String pressure){
		this.pressure = pressure;
	}
	
	
	
	public void printWeatherInfo()	{
		System.out.println("Location - "+location);
		System.out.println("Date - "+date);
		System.out.println("Temperature - "+temperature);
		System.out.println("High - "+high);
		System.out.println("Low - "+low);
		System.out.println("Humidity - "+humidity);
		System.out.println("Visibility - "+visibility);
		System.out.println("WeatherDescription - "+weatherDescription);
		System.out.println("Pressure - "+pressure);
		System.out.println("CloudCover - "+cloudCover);
		System.out.println("WindDir - "+windDir);
		System.out.println("WindSpeed - "+windSpeed);
	}
}
